package com.hyopt.modules.app.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hyopt.common.utils.QueryExt;
import com.hyopt.modules.app.dao.CoinDetailDao;
import com.hyopt.modules.app.dao.CustomInfoDao;
import com.hyopt.modules.app.entity.CoinDetailEntity;
import com.hyopt.modules.app.entity.CustomInfo;
import com.hyopt.modules.app.service.CoinDetailService;
import com.hyopt.modules.app.service.CustomInfoService;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.Map;

/**
 * @ClassName CustormInfoServiceImpl
 * @Description TODO
 * @Author lijie
 * @Date 2023/5/9 16:39 星期二
 * @Version 1.0
 */
@Service
public class CustomInfoServiceImpl  extends ServiceImpl<CustomInfoDao, CustomInfo> implements CustomInfoService {


    @Override
    public Page selectPageCoin(QueryExt query) {
        Map map  = new HashMap();
        map.putAll(query.getCondition());
        query.setRecords(this.baseMapper.selectPageCoin(query, map));
        return query;
    }
}
